efa inventory device snmp group update
Syntax
efa inventory device snmp group update
[
--ip
device-ips
|
--name
group-name
|
--version
version
|
--read-view
view-name
|
--write-view
view-name
|
--notify-view
view-name
|
--auth-level
auth-level
]
Parameters
- --auth-level
auth-level
- Sets group auth level. Valid values are noauth, auth and priv.
- --ip
device-ips
- Specifies a comma-separated range of device
IP addresses. For example:
10.1.1.13,10.1.1.50,10.1.1.101.
- --name
group-name
- Specifies an SNMP name.
- --notify-view
view-name
- Sets group notify view name.
- --read-view
view-name
- Sets group read view name.
- --version
version
- Specifies an SNMP group version. Valid values are v2c and v3.
- --write-view
view-name
- Sets group write view name.
Examples
This example updates a group.
efa inventory device snmp group update --name "test-grp-v2" --version v2c --read-view "test-view-1" --ip 10.139.44.159
+---------------+-------------+---------+-------------+------------+-------------+------------+---------+--------+
| IP Address | Group Name | Version | Read view | Write view | Notify view | Auth Level | Status | Reason |
+---------------+-------------+---------+-------------+------------+-------------+------------+---------+--------+
| 10.139.44.159 | test-grp-v2 | v2c | test-view-1 | | | | Success | |
+---------------+-------------+---------+-------------+------------+-------------+------------+---------+--------+
Snmp group details